ZoomLevels

public interface ZoomLevels implements ProfileService, Observable<T>

Allows configuring the default zoom level and receive notifications about zoom changes.

Properties

Link copied to clipboard
public final ZoomLevel defaultLevel
public final ZoomLevel defaultLevel

The default zoom level for the web pages.

Functions

Link copied to clipboard
public abstract ZoomLevel defaultLevel()
Returns the default zoom level for the web pages.
public abstract void defaultLevel(ZoomLevel zoomLevel)
Overrides the default zoom level for the web pages.
Link copied to clipboard
public abstract Subscription on<E extends T>(Class<E> eventClass, Observer<E> observer)
Subscribes the given event observer to receive the events of the given eventClass.
Link copied to clipboard
public abstract Profile profile()
Returns the profile of this service.
Link copied to clipboard
public final Subscription subscribe<E extends Event>(Observer<E> observer)
public final Subscription subscribe<E extends Event>(Observer<E> observer)

Subscribes the given observer to receive events of type E from this Observable.